home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
alarm.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
1KB
|
35 lines
ALARM(3) UNIX Programmer's Manual ALARM(3)
NNAAMMEE
aallaarrmm - set signal timer alarm
SSYYNNOOPPSSIISS
##iinncclluuddee <<uunniissttdd..hh>>
_u_n_s_i_g_n_e_d _i_n_t
aallaarrmm(_u_n_s_i_g_n_e_d _i_n_t _s_e_c_o_n_d_s)
DDEESSCCRRIIPPTTIIOONN
TThhiiss iinntteerrffaaccee iiss mmaaddee oobbssoolleettee bbyy sseettiittiimmeerr((22))..
The aallaarrmm() function waits a count of _s_e_c_o_n_d_s before asserting the termi-
nating signal SIGALRM. When the signal has successfully been caught,
aallaarrmm() returns the amount of time left on the clock. The maximum number
of _s_e_c_o_n_d_s allowed is 2147483647.
If an alarm has been set with aallaarrmm(), another call to aallaarrmm() will su-
persede the prior call. The request aallaarrmm(_0) voids the current alarm.
SSEEEE AALLSSOO
sigaction(2), setitimer(2), sigpause(2), sigvec(3), signal(3),
sleep(3), ualarm(3), usleep(3)
SSTTAANNDDAARRDDSS
The aallaarrmm() function conforms to .
HHIISSTTOORRYY
An aallaarrmm() function appeared in Version 7 AT&T UNIX.
4th Berkeley Distribution April 19, 1994 1